using System.Collections.Generic;
using Webshop20.Application.DataTransferObjects;

namespace Webshop20.Presentation
{
    public class ShoppingCart
    {
        private IEnumerable<CartItemDTO> purchasedItems;
        private IEnumerable<CartItemDTO> savedItems;
        private string totalPrice;

        public ShoppingCart(string totalPrice, IEnumerable<CartItemDTO> savedItems, IEnumerable<CartItemDTO> purchasedItems)
        {
            this.totalPrice = totalPrice;
            this.purchasedItems = purchasedItems;
            this.savedItems = savedItems;
        }

        public string TotalPrice
        {
            get { return totalPrice; }
        }

        public IEnumerable<CartItemDTO> SavedItems
        {
            get { return savedItems; }
        }

        public IEnumerable<CartItemDTO> PurchasedItems
        {
            get { return purchasedItems; }
        }
    }
}